sql query to delete the range of rows

join shbcf.ru